cd $SRC
mv SPIRV-Headers-85b7e00c7d785962ffe851a177c84353d037dcb6 SPIRV-Headers
#cd SPIRV-Tools-$surum
#mkdir build ; cd build
BLD_SPIRV_TOOLS=" \
-S SPIRV-Tools-$surum \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D SPIRV_WERROR=OFF \
-DBUILD_SHARED_LIBS=ON \
-DSPIRV_TOOLS_BUILD_STATIC=OFF \
-D SPIRV-Headers_SOURCE_DIR=/usr \
-D PYTHON_EXECUTABLE=/usr/bin/python3 \
-DSPIRV-Headers_SOURCE_DIR="${SRC}"/SPIRV-Headers \
-G Ninja \
-Wno-dev"

cmake . $BLD_SPIRV_TOOLS
ninja
